<template>
	<div>
		<Username></Username>
		<Serve :propServe="Servelist" :propGoods="Goodslist"></Serve>
		<Selected></Selected>
		
		<Buttom :propurl="arrUrl"></Buttom>
	</div>
</template>

<script>
	import Username from './pare/Username'
	import Serve from './pare/Serve'
	import Selected from './pare/Selected'
	
	import Buttom from '../default/Buttom'
	export default{
		name:'Individual',
		components:{
			Username,Serve,Selected,
			Buttom
		},
		data(){
			return{
				arrUrl:['img/o-home.png','img/o-order.png','img/user.png'],
				Goodslist:[],
				Servelist:[],
			}
		},
		created() {
			let that=this//备份
			this.axios.get('api/dataIndividual.json').then((res)=>{
				let data=res.data.dataIndividual
				that.Goodslist=data.goodsVuelist
				that.Servelist=data.serveVuelist
			}).catch((error)=>{
				console.log(error)
			})
		}
	}
</script>

<style>
</style>
